CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

include_directories(${COMN_DIR}/include)


include_directories(${THIRD_PARTY}/tinyxml2)

include_directories(${PROJECT_ROOT}/GbtComn)
include_directories(${PROJECT_ROOT}/MediaStream)

link_directories(${COMN_DIR}/lib)
link_directories(${PROJECT_ROOT}/lib)
link_directories(${THIRD_PARTY}/tinyxml2/lib)

include_directories(${THIRD_PARTY}/jsoncpp-1.9.3/include)

aux_source_directory(. SOURCES)

add_library(AppUtil STATIC ${SOURCES})

target_link_libraries(AppUtil
	debug comnd optimized comn
	${LIB_PLATFORM}
	)

set_target_properties(AppUtil PROPERTIES DEBUG_POSTFIX "d")
set_property(TARGET AppUtil PROPERTY POSITION_INDEPENDENT_CODE TRUE)
